feat: [STO-12076]: add sast_remediation_diff MCP resource - #701
Merged
thisrohangupta merged 4 commits intoJul 29, 2026
Merged
Conversation
Expose STO DiffOccurrences so agents can list existing vs new occurrences after a validation execution. Co-authored-by: Cursor <cursoragent@cursor.com>
|
|
Architecture guardrail caps inline responseExtractor count in sto.ts. Co-authored-by: Cursor <cursoragent@cursor.com>
priyanshu11137
force-pushed
the
feat/STO-12076/sast-remediation-diff
branch
from
July 27, 2026 12:27
041a5f2 to
ff5e554
Compare
thisrohangupta
approved these changes
Jul 29, 2026
thisrohangupta
left a comment
Collaborator
There was a problem hiding this comment.
Adds sast_remediation_diff as a declarative STO toolset resource (no new tool handler), with a shared extractor, operationPolicy, preflight validation, and 26 tests. Resolved the README conflict with #707 (kept badge + bumped count to 216). Verified locally: build, docs:check, standards (80/80), STO tests (26/26) all pass.
thisrohangupta
approved these changes
Jul 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Expose STO DiffOccurrences so agents can list existing vs new occurrences after a validation execution.
Description
Type of Change
Checklist
pnpm testpassespnpm typecheckpassespnpm buildpassespnpm standards:checkpasses (architecture guardrails — see docs/coding-standards.md)pnpm docs:checkpasses (if registry/tool counts changed)Coding Standards (registry-driven MCP model)
If this PR adds or changes Harness API coverage:
server.registerTool()calls — only toolset definitions insrc/registry/toolsets/ALL_TOOLSETSandToolsetNameunionoperationPolicyon every new/changed endpointsrc/registry/extractors.ts(no raw passthrough on real endpoints)identifierFieldsandscopedeclared on new resourcesconsole.log()insrc/(stdio JSON-RPC safety)